package com.edwin.ws.webservice;

import java.util.Date;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@SuppressWarnings("restriction")
@WebService
public interface WebServiceSample {
	@WebMethod
	public int addService(@WebParam(name="num1") int num1,@WebParam(name="num2") int num2);

	@WebMethod
	public String getChangeDay(@WebParam(name="day") Date date,@WebParam(name="offset") int offset);
	
	@WebMethod
    public String uploadFile(@WebParam(name="fileBytes") byte[] fileBytes,@WebParam(name="FileName") String fileName);
	
	@WebMethod
	public String checkFileExist(@WebParam(name="FileName") String fileName);
	
	@WebMethod
	public Integer addServiceFromDb();
}
